package com.example.demo.mapper;

import com.example.demo.entity.Mistake;

import java.util.List;

public interface MistakeMapper {

    int insertMistake(Mistake mistake);

    List<Mistake> findByDescriptionOrNot(String description);

    List<Mistake> findAll();
}
